package net.pws.common.security.spi.resource;

/**
 * 
 *
 */
public interface ICachedResourceManager {
    
    /**
     * @param userId
     * @return the cached resource if the associated one exists, otherwise
     *         ,retrieve it from underlying repository and put it to cache.
     */
    public ICachedResource getCachedResource(String userId);
    
}
